import { ValueConverter } from '@angular/compiler/src/render3/view/template';
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {

  status=0;

  rank(){
    return this.status;
  }
  onInput(evt:Event){
    const inputEle=<HTMLInputElement>evt.target;
    this.status=Number(inputEle.value);
  }
  show = true;
  color= true;
}
